package com.seata.demo.seatarole.service;

import com.seata.demo.seatarole.entity.Role;
import com.seata.demo.seatarole.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    RoleMapper roleMapper;

    @Override
    public void insert(Role role) {
        roleMapper.insert(role);
    }
}
